/*
* @Date: 2020/6/10
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/
export default {
  display: 'inline-block',
  props: [{
    key: 'visible',
    type: 'checked',
    label: '显示',
  }, {
    key: 'onVisibleChange',
    type: 'function',
    label: '显隐回调'
  }, {
    key: 'placement',
    type: 'select',
    options: ['left', 'right', 'top', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'],
    label: '位置'
  }, {
    key: 'mask',
    type: 'checked',
    label: '遮罩',
  }, {
    key: 'overlay',
    type: 'dom',
    label: '弹出内容',
    value: <div className="sortable view-item-box sub"></div>
  }, {
    key: 'onSelect',
    type: 'function',
    label: '选中回调',
  }],
  /**
   * children渲染函数
   * @param param 参数
   */
  childRender: (param, page) => {
    return (
      <div className="sortable view-item-box sub">

      </div>
    )
  },
}
